<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
	<title>ziceinclude&trade; admin  version 1.0 online</title>
        <!--[if lt IE 9]>
          <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
	<link href="<?php echo base_url();?>public/admin/css/zice.style.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo base_url();?>public/admin/css/tony-zice.style.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo base_url();?>public/admin/css/icon.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/admin/components/tipsy/tipsy.css" media="all"/>

	</head>
	<body >
		<div id="alertMessage" class="error"></div>
		<?php if(isset($error)){?>
			<div id="loginError" class="error"><?php echo $error;?></div>
		<?php }?>
		<div class="text_success"><img src="<?php echo base_url();?>public/admin/img/loadder/loader_green.gif"  alt="ziceAdmin" /><span>Please wait</span></div>
		
		<div id="login" >
		  <div class="ribbon"></div>
		  <div class="inner">
		  <div  class="logo" ><img src="<?php echo base_url();?>public/admin/img/logo/logo_login.png" alt="ziceAdmin" /></div>
		  <div class="userbox"></div>
		  <div class="formLogin">
		   <form name="formLogin"  id="formLogin" action="<?php echo admin_url('login');?>" method="post">
		          <div class="tip">
			          <input name="username" type="text"  id="username_id"  title="Username" value="<?php if(isset($name)){echo $name;}?>"  />
			          <input name="password" type="password" id="password"   title="Password" value="<?php if(isset($pass)){echo $pass;}?>" />
		          </div>
		          <div style="padding:20px 0px 0px 0px ;">
		            <div style="float:left; padding:0px 0px 2px 0px ;">
		           		<input type="checkbox" id="on_off" name="autologin" class="on_off_checkbox"  value="1"   />
		              	<span class="f_help">Remember me</span>
		            </div>
		          	<div style="float:right;padding:2px 0px ;">
		                 <ul class="uibutton-group">
		                    <li><input type="submit" value="Submit" class="uibutton normal"  id="but_login" />&nbsp;</li>
						    <li><a class="uibutton  normal" href="<?php echo admin_url('forgot-password');?>" id="forgetpass">forpassword</a></li>
		                 </ul>
		            </div>
				 </div>
		    </form>
		  </div>
		</div>
		  <div class="clear"></div>
		  <div class="shadow"></div>
		</div>
		
		<!--Login div-->
		<div class="clear"></div>
		<div id="versionBar" >
		  <div class="copyright" > &copy; Copyright 2012  All Rights Reserved <span class="tip"><a  href="#" title="Zice Admin" >Your company</a> </span> </div>
		  <!-- // copyright-->
		</div>
		<!-- Link JScript-->
		<script type="text/javascript" src="<?php echo base_url();?>public/admin/js/jquery.min.js"></script>
		<script type="text/javascript" src="<?php echo base_url();?>public/admin/components/effect/jquery-jrumble.js"></script>
		<script type="text/javascript" src="<?php echo base_url();?>public/admin/components/ui/jquery.ui.min.js"></script>     
		<script type="text/javascript" src="<?php echo base_url();?>public/admin/components/tipsy/jquery.tipsy.js"></script>
		<script type="text/javascript" src="<?php echo base_url();?>public/admin/components/checkboxes/iphone.check.js"></script>
		<script type="text/javascript" src="<?php echo base_url();?>public/admin/js/login.js"></script>
		<script type="text/javascript">
			$('#loginError').click(function(){
				$('#loginError').animate({ opacity: 0,right: '-20'}, 500,function(){ $(this).hide(); });
			});
			var error = '<?php if(isset($error)){echo $error;}?>';
			$('#loginError').addClass('error').html(error).stop(true,true).show().animate({ opacity: 1,right: '10'}, 1000);	
		</script>
	</body>
</html>